package com.yc.chaoshi.cs_manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.chaoshi.cs_manage.DTO.AdminDTO;
import com.yc.chaoshi.entity.UmsRoles;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
public interface UmsRolesMapper extends BaseMapper<UmsRoles> {
    /**
     * 根据名字查询所有角色
     * @param pageNum
     * @param pageSize
     * @param sreachname
     * @return
     */
    List<AdminDTO> listAll(Integer pageNum, Integer pageSize, String sreachname);
}
